package com.service;


import com.core.base.BaseService;
import com.core.response.ResponseResult;
import com.model.jpa.Users;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface IUsersService  {

    ResponseResult addUsers(Users users);

    ResponseResult getByUserName(String userName);

    ResponseResult updateUsersInfo(Users users);

    ResponseResult login(String userName,String password);

    ResponseResult deleteUsers(Long[] ids);

    Page<Users> selectUsers(String realName,Pageable pageable);

    Users getById(Long id);
}
